package qsou.rpc.framework.common.utils;

/**
 * @description:
 * @auther: wuxw
 * @Date: 2022/3/29 15:49
 */
public class RuntimeUtil {
  /**
   * 获取CPU的核心数
   * @version V1.0.0
   * @date  2022/3/29 15:50
   */
  public static int cpus(){
    return Runtime.getRuntime().availableProcessors();
  }
}